#ifndef ALLOWREMOVEDATASETTINGS_H
#define ALLOWREMOVEDATASETTINGS_H

#include <QObject>
#include "singleton.h"

class AllowRemoveDataSettings : public QObject, public Singleton<AllowRemoveDataSettings>
{
    Q_OBJECT
    SINGLETON_OBJECT(AllowRemoveDataSettings)
public:
    bool isRemovingAllowed() const;

public slots:
    void setAllowRemove (bool allowed);
    void saveSettings();

private:
    bool m_allowRemove;

signals:
    void allowRemoveChanged (bool allowed);
};

#endif // ALLOWREMOVEDATASETTINGS_H
